import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
* 获取 OrrOutcupHourlyDispensing 分页列表
*/
export function getOrrOutcupHourlyDispensingPagination(data: any) {
    return axios.get(`${context}/orrOutcupHourlyDispensing/pagination`, { params: data });
}


/**
* 获取 OrrOutcupHourlyDispensing 所有数据
*/
export function getOrrOutcupHourlyDispensingAllList(data: any) {
    return axios.get(`${context}/orrOutcupHourlyDispensing/allList`, { params: data });
}


/**
* 获取 OrrOutcupHourlyDispensing 详情
*/
export function getOrrOutcupHourlyDispensingDetailById(id: any) {
    return axios.get(`${context}/orrOutcupHourlyDispensing/${id}`, { params:{id} });
}


/**
* 新增 OrrOutcupHourlyDispensing
*/
export function addOrrOutcupHourlyDispensing(data: any) {
    return axios.post(`${context}/orrOutcupHourlyDispensing`, data);
}

/**
* 修改 OrrOutcupHourlyDispensing
*/
export function updateOrrOutcupHourlyDispensing(data: any) {
    return axios.put(`${context}/orrOutcupHourlyDispensing`, data);
}

/**
* 删除 OrrOutcupHourlyDispensing
*/
export function batchRemoveOrrOutcupHourlyDispensing(data: any) {
        return axios.post(`${context}/orrOutcupHourlyDispensing/batchRemove`, data);
}
